package com.catbad.mapper;

import com.catbad.domain.Film;
import java.util.List;
import java.util.Map;

public interface FilmMapper {
    int deleteByPrimaryKey(Long filmId);

    int insert(Film record);

    Film selectByPrimaryKey(Long filmId);

    List<Film> selectAll();

    int updateByPrimaryKey(Film record);

    Long total(Map<String,Object> params);

    List<Map<String,Object>> findPageForFilm(Map<String,Object> params);

    int saveFilm(Film film);

    int setFilm(Film film);

    List<Map<String,Object>> getAllFilm();

    List<Map<String,Object>> getFilmByName(String filmName);

    Map<String,Object> getFilmMapById(Long fid);

    List<Film> findMoreFilmPage(Map<String,Object> params);

    Long moreTotal(Map<String,Object> params);

    List<Film> getPlayFilm(Map<String,Object> param);

}